package com.hx.mapper;

import com.hx.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    //根据id查询部门下的所有员工
    Department findByIdEmp(Integer id);


    //分步查询
    Department findById(Integer id);

    Department findByIdStep(Integer id);

    List<Department> findAllEmp();
}
